package net.zoneland.knowledge.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import net.zoneland.knowledge.model.LoginUserPojo;

/**
 * 纠错业务接口.
 * @author zmq
 * @date 2021/10/8 17:26
 */
public interface ErrorCorrectionService {

    /**
     * 添加纠错信息.
     * @param desc 描述
     * @param esQuestionId es题库id
     * @param curUser 当前用户
     * @param files 附件
     */
    void addErrorCorrection(String desc, String esQuestionId,
                            LoginUserPojo curUser, List<MultipartFile> files);
}
